package cn.org.timespace.easyframe.model.permission;

/**
 * EfUserRole entity. @author MyEclipse Persistence Tools
 */

public class EfUserRole implements java.io.Serializable {

	// Fields

	private String userRoleId;
	private EfUser efUser;
	private EfRole efRole;

	// Constructors

	/** default constructor */
	public EfUserRole() {
	}

	/** minimal constructor */
	public EfUserRole(String userRoleId) {
		this.userRoleId = userRoleId;
	}

	/** full constructor */
	public EfUserRole(String userRoleId, EfUser efUser, EfRole efRole) {
		this.userRoleId = userRoleId;
		this.efUser = efUser;
		this.efRole = efRole;
	}

	// Property accessors

	public EfUser getEfUser() {
		return this.efUser;
	}

	public String getUserRoleId() {
		return userRoleId;
	}

	public void setUserRoleId(String userRoleId) {
		this.userRoleId = userRoleId;
	}

	public void setEfUser(EfUser efUser) {
		this.efUser = efUser;
	}

	public EfRole getEfRole() {
		return this.efRole;
	}

	public void setEfRole(EfRole efRole) {
		this.efRole = efRole;
	}

}